@import './base.scss';

.anticon.icon-caret {
    margin-left: 5px;
}

.ant-dropdown-menu-item > .anticon:first-child,
.ant-dropdown-menu-submenu-title > .anticon:first-child,
.ant-dropdown-menu-item > a > .anticon:first-child,
.ant-dropdown-menu-submenu-title > a > .anticon:first-child,
.ant-dropdown-menu-item > span > .anticon:first-child,
.ant-dropdown-menu-submenu-title > span > .anticon:first-child {
    font-size: $base-font-size-4;
}

.ant-dropdown-menu-item {
    display: flex;
    align-items: center;
}

ul {
    margin-bottom: 0px;
}

.ant-modal-mask,
.ant-modal-wrap {
    z-index: 1005;
}

.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    background-color: transparent !important;
    font-weight: normal;
}

.ant-btn-link {
    padding: 0;
}

// 图层树
.ant-tree {
    color: #fff!important;
    background-color: #212825!important;
    background: #212825!important;
}
.ant-tree-checkbox-inner {
    width: 20px !important;
    height: 20px !important;
    background-color: #484d4b !important;
    border: 1px solid #484d4b !important;
}
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner {
    background-color: #484d4b;
    border-color: #484d4b;
}

.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
    border: 2px solid #00f794;
    border-top: 0;
    border-left: 0;
}
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after {
    width: 10px;
    height: 10px;
    background-color: #00f794;
}
.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
.ant-tree-checkbox:hover .ant-tree-checkbox-inner,
.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
    border-color: #00f794;
}
.ant-tree-checkbox-checked::after {
    border: 1px solid #00f794;
}
.ant-tree .ant-tree-node-content-wrapper:hover {
    color: #00f794;
    background-color: #1d4a37;
}

.ant-tree .ant-tree-treenode {
    width: 100%;

    &:hover {
        color: #00f794;
        background-color: #1d4a37;
    }
}
// .ant-form-item-label > label{
//     overflow: hidden;/*超出部分隐藏*/
//     white-space: nowrap;/*不换行*/
//     text-overflow:ellipsis;/*超出部分文字以...显示*/
//     line-height: 32px;
// }
.ant-form-item-label {
    display: flex;
    // justify-content: flex-end;
    line-height: 16px;  
    label {            
        white-space: normal;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 32px;
        white-space: nowrap;
        display: block;
    }
}

.ant-pagination {
    color: #fff;
}
.ant-pagination-prev .ant-pagination-item-link,
.ant-pagination-next .ant-pagination-item-link,
.ant-pagination-item {
    background-color: #323f3e;
    color: #fff;
    border: none;
}
.ant-pagination-item a {
    color: #fff;
}
.ant-pagination-item-active {
    background-color: #063a29;
    a {
        color: #00f794;
    }
}
.ant-select:not(.ant-select-customize-input) .ant-select-selector{
    background-color: #323f3e;
    color: #fff;
    border: none;
}
.ant-select-arrow{
    color: #fff;
}
